import request from '@/utils/request'

const expressway = {
  list(params){
    return request.get("/system/expressway/list", { params })
  },
  treeSelect() {
    return request.get("/system/expressway/treeSelect")
  },
  add(data){
    return request.post("/system/expressway/add", data)
  },
  update(data){
    return request.post("/system/expressway/update", data)
  },
  del(id){
    return request.post(`/system/expressway/delete/${id}`)
  },
  get(id){
    return request.get(`/system/expressway/detail/${id}`)
  },
}

export default expressway;
